﻿
namespace BLPicker.Mocks
{
    using System;

    public class AlternativeBusinessLayerMock : IBusinessLayer<string>
    {

        public BusinessOperationResult FirstOperation()
        {
            return BusinessOperationResult.FirstAlternativeResult;
        }

        public BusinessOperationResult SecondOperation<T1, T2>()
        {
            return BusinessOperationResult.SecondAlternativeResult;
        }


        public event EventHandler FirstEvent;
        public void RaiseFirstEvent()
        {
            if (FirstEvent != null)
                FirstEvent(this, EventArgs.Empty);
        }

        public int Index
        {
            get { return -1; }
            set { }
        }


    }
}
